<?php
namespace app\index\controller;

class Team extends BaseHome
{
    public function index()
    {
        $list=db("team")->order("id desc")->paginate(3);
        $this->assign("list",$list);
        
        $page=$list->render();
        $this->assign("page",$page);
        
        $lbp=db("lb")->where("fid=16")->order("sort asc")->find();
        $this->assign("lbp",$lbp);
        
        $lbm=db("lb")->where("fid=17")->order("sort asc")->find();
        $this->assign("lbm",$lbm);
        
        return view('index');
    }
}